package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购单详情对象 purchasedetails
 * 
 * @author xy
 * @date 2023-12-27
 */
public class Purchasedetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购单详情ID */
    private Long purchaseDetailsID;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodID;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodNum;

    public void setPurchaseDetailsID(Long purchaseDetailsID) 
    {
        this.purchaseDetailsID = purchaseDetailsID;
    }

    public Long getPurchaseDetailsID() 
    {
        return purchaseDetailsID;
    }
    public void setGoodID(Long goodID) 
    {
        this.goodID = goodID;
    }

    public Long getGoodID() 
    {
        return goodID;
    }
    public void setGoodNum(Long goodNum) 
    {
        this.goodNum = goodNum;
    }

    public Long getGoodNum() 
    {
        return goodNum;
    }

    public Purchasedetails(Long purchaseDetailsID, Long goodID, Long goodNum) {
        this.purchaseDetailsID = purchaseDetailsID;
        this.goodID = goodID;
        this.goodNum = goodNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaseDetailsID", getPurchaseDetailsID())
            .append("goodID", getGoodID())
            .append("goodNum", getGoodNum())
            .toString();
    }
}
